package com.gxa.guahao01.pojo;

import java.util.Date;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 患者挂号记录(GuaHaoJiLu)实体类
 *
 * @author xyc
 * @since 2021-03-17 10:53:41
 * @version 1.0
 */
@ApiModel(value = "GuaHaoJiLu",description = "患者挂号记录")
public class GuaHaoJiLu implements Serializable {
    private static final long serialVersionUID = 929808649155390665L;
    /**
    * 挂号id
    */
	@ApiModelProperty(name = "id",notes = "挂号id",dataType = "Integer",required = true)
    private Integer id;
    /**
    * 对应患者的id

    */
	@ApiModelProperty(name = "huanZheJiuZhenKaId",notes = "对应患者的id ",dataType = "Integer",required = true)
    private Integer huanZheJiuZhenKaId;
    /**
    * 挂号的时间
    */
	@ApiModelProperty(name = "guaHaoShiJian",notes = "挂号的时间",dataType = "Date",required = true)
    // 接收字符串日期，转换为date对象，前端必须传递 "2020-06-20"  这样的格式
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    // 下面是服务器响应返回的内容，如果没有格式化转换，那么返回的内容是长毫秒数，接收mysql数据库中的数据也需要设置东八区+8时
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date guaHaoShiJian;
    /**
    * 挂号员的id
    */
	@ApiModelProperty(name = "guaHaoYuanId",notes = "挂号员的id",dataType = "Integer",required = true)
    private Integer guaHaoYuanId;
    /**
    * （0已退号，1待接诊，2接诊中，3已完成，4已过期;默认为1）
    */
	@ApiModelProperty(name = "jiuZhenJiLuZhuangTai",notes = "（0已退号，1待接诊，2接诊中，3已完成，4已过期;默认为1）",dataType = "Integer",required = true)
    private Integer jiuZhenJiLuZhuangTai;
    /**
    * （0普通号，1急诊号，2专家号;默认为0）
    */
	@ApiModelProperty(name = "guaHaoLeiBie",notes = "（0普通号，1急诊号，2专家号;默认为0）",dataType = "Integer",required = true)
    private Integer guaHaoLeiBie;
    /**
    * 接诊医生的id
    */
	@ApiModelProperty(name = "yiShengId",notes = "接诊医生的id",dataType = "Integer",required = true)
    private Integer yiShengId;
    /**
    * （0初诊，1复诊;默认为0）
    */
	@ApiModelProperty(name = "jieZhenLeiXing",notes = "（0初诊，1复诊;默认为0）",dataType = "Integer",required = true)
    private Integer jieZhenLeiXing;
    /**
    * 接诊医生的科室id
    */
	@ApiModelProperty(name = "keShiId",notes = "接诊医生的科室id",dataType = "Integer",required = true)
    private Integer keShiId;
    /**
    * 挂号的费用
    */
	@ApiModelProperty(name = "guaHaoFei",notes = "挂号的费用",dataType = "Integer",required = true)
    private Integer guaHaoFei;
    /**
    * 就诊时间，即医生接诊时间
    */
	@ApiModelProperty(name = "jiuZhenShiJian",notes = "就诊时间，即医生接诊时间",dataType = "String",required = true)
    // 接收字符串日期，转换为date对象，前端必须传递 "2020-06-20"  这样的格式
    private String jiuZhenShiJian;
    /**
    * 医生诊疗费用
    */
	@ApiModelProperty(name = "zhenLiaoFei",notes = "医生诊疗费用",dataType = "Integer",required = true)
    private Integer zhenLiaoFei;
    /**
    * 费用合计
    */
	@ApiModelProperty(name = "feiYongHeJi",notes = "费用合计",dataType = "Integer",required = true)
    private Integer feiYongHeJi;
    /**
     * 挂单单号
     */
    @ApiModelProperty(name = "guaHaoDanHao",notes = "挂号单号",dataType = "String",required = true)
	private String guaHaoDanHao;

    private KeShi keShi;
    private YiSheng yiSheng;

    public KeShi getKeShi() {
        return keShi;
    }

    public void setKeShi(KeShi keShi) {
        this.keShi = keShi;
    }

    public YiSheng getYiSheng() {
        return yiSheng;
    }

    public void setYiSheng(YiSheng yiSheng) {
        this.yiSheng = yiSheng;
    }

    public String getGuaHaoDanHao() {
        return guaHaoDanHao;
    }

    public void setGuaHaoDanHao(String guaHaoDanHao) {
        this.guaHaoDanHao = guaHaoDanHao;
    }

    @ApiModelProperty(name = "huanZheJiuZhenKa",notes = "患者就诊卡pojo对象",dataType = "HuanZheJiuZhenKa",required = true)
	private HuanZheJiuZhenKa huanZheJiuZhenKa;

    public HuanZheJiuZhenKa getHuanZheJiuZhenKa() {
        return huanZheJiuZhenKa;
    }

    public void setHuanZheJiuZhenKa(HuanZheJiuZhenKa huanZheJiuZhenKa) {
        this.huanZheJiuZhenKa = huanZheJiuZhenKa;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getHuanZheJiuZhenKaId() {
        return huanZheJiuZhenKaId;
    }

    public void setHuanZheJiuZhenKaId(Integer huanZheJiuZhenKaId) {
        this.huanZheJiuZhenKaId = huanZheJiuZhenKaId;
    }

    public Date getGuaHaoShiJian() {
        return guaHaoShiJian;
    }

    public void setGuaHaoShiJian(Date guaHaoShiJian) {
        this.guaHaoShiJian = guaHaoShiJian;
    }
        
    public Integer getGuaHaoYuanId() {
        return guaHaoYuanId;
    }

    public void setGuaHaoYuanId(Integer guaHaoYuanId) {
        this.guaHaoYuanId = guaHaoYuanId;
    }
        
    public Integer getJiuZhenJiLuZhuangTai() {
        return jiuZhenJiLuZhuangTai;
    }

    public void setJiuZhenJiLuZhuangTai(Integer jiuZhenJiLuZhuangTai) {
        this.jiuZhenJiLuZhuangTai = jiuZhenJiLuZhuangTai;
    }
        
    public Integer getGuaHaoLeiBie() {
        return guaHaoLeiBie;
    }

    public void setGuaHaoLeiBie(Integer guaHaoLeiBie) {
        this.guaHaoLeiBie = guaHaoLeiBie;
    }
        
    public Integer getYiShengId() {
        return yiShengId;
    }

    public void setYiShengId(Integer yiShengId) {
        this.yiShengId = yiShengId;
    }
        
    public Integer getJieZhenLeiXing() {
        return jieZhenLeiXing;
    }

    public void setJieZhenLeiXing(Integer jieZhenLeiXing) {
        this.jieZhenLeiXing = jieZhenLeiXing;
    }
        
    public Integer getKeShiId() {
        return keShiId;
    }

    public void setKeShiId(Integer keShiId) {
        this.keShiId = keShiId;
    }
        
    public Integer getGuaHaoFei() {
        return guaHaoFei;
    }

    public void setGuaHaoFei(Integer guaHaoFei) {
        this.guaHaoFei = guaHaoFei;
    }
        
    public String  getJiuZhenShiJian() {
        return jiuZhenShiJian;
    }

    public void setJiuZhenShiJian(String jiuZhenShiJian) {
        this.jiuZhenShiJian = jiuZhenShiJian;
    }
        
    public Integer getZhenLiaoFei() {
        return zhenLiaoFei;
    }

    public void setZhenLiaoFei(Integer zhenLiaoFei) {
        this.zhenLiaoFei = zhenLiaoFei;
    }
        
    public Integer getFeiYongHeJi() {
        return feiYongHeJi;
    }

    public void setFeiYongHeJi(Integer feiYongHeJi) {
        this.feiYongHeJi = feiYongHeJi;
    }

}